<%
    /**
     * 标题头区
     * edited by amon 2005-8-16
     */
%>
<%
    logger.info("构造标题头区");
    ItemTitleArea itArea = (ItemTitleArea)request.getAttribute("viewer");
    logger.debug("  -- 取标题头区");
    List titles = itArea.getTitles(request.getContextPath());
    logger.debug("  -- 显示标题头");
    for(int i = 0; i < titles.size(); i ++)
    {
        Title title = (Title)titles.get(i);
        logger.debug(i + " " + title);
        String color = "red";
        if(i%2 == 0)
            color = "blue";
        %>
        <a href="#" onclick = "<%= title.getOnClickJSFunc()%>"><font color='<%= color%>'><%= title.getText()%></font></a>&nbsp;
        <%
    }// for
    logger.info("_ItemTitleArea.jsp 完毕");
%>
